#parse("admin/inc/contentleft.html")
<script type="text/javascript"
	src="$thiscontextpath/ckeditor/ckeditor.js">
</script>
<script type="text/javascript"
	src="$thiscontextpath/ckfinder/ckfinder.js">
</script>
<div id="center-column">
	<div class="top-bar">
		<a href="new" class="button">增加 轮换图</a>
		<h1>
			Contents
		</h1>
		<div class="breadcrumbs">
			<a href="#">Homepage</a> /
			<a href="#">Contents</a>
		</div>
	</div>
	<br />
	<div class="select-bar">

	</div>
	<div class="table">
		<img src="img/bg-th-left.gif" width="8" height="7" alt="" class="left" />
		<img src="img/bg-th-right.gif" width="7" height="7" alt=""
			class="right" />
		<table class="listing form" cellpadding="0" cellspacing="0">
			<form name="addslide" id="addslide" method="post" action="save">
			<tr>
				<td class="first" width="172">
					<strong>轮换图名称</strong>
				</td>
				<td class="last">
					<INPUT type="text" class=text name=slidename>
				</td>
			</tr>
<tr>
				<td class="first" width="172">
					<strong>轮换图链接</strong>
				</td>
				<td class="last">
					<INPUT type="text" class=text name=linkurl>
				</td>
			</tr>
			<script type="text/javascript">

function BrowseServer(inputId) {
	var finder = new CKFinder();
	finder.basePath = '../ckfinder/'; //导入CKFinder的路径
	finder.selectActionFunction = SetFileField; //设置文件被选中时的函数
	finder.selectActionData = inputId; //接收地址的input ID
	finder.popup();
}

//文件选中时执行
function SetFileField(fileUrl, data) {
	document.getElementById(data["selectActionData"]).value = fileUrl;
}
</script>


			<tr>
				<td class="first"">
					<strong>轮换图图片</strong>
				</td>
				<td class="last">
					<input id="slideimg" name="slideimg" type="text" size=40 />
					<input type="button" value="浏览图片"
						onclick="BrowseServer( 'slideimg' );" />


				</td>
			</tr>


			<tr>
				<td class="first"">
					<strong>轮换图状态</strong>
				</td>
				<td class="last">
					<select style="width: 65%" name="enablestatus">
						<option value='1'>
							有效
						</option>
						<option value='0'>
							无效
						</option>
					</select>
				</td>
			</tr>

			<tr>
				<td class="first"">
					<strong>位置排序权重</strong>
				</td>
				<td class="last">
					<select style="width: 65%" name="rowindex">
						<option value='1'>
							1
						</option>
						<option value='2'>
							2
						</option>
						<option value='3'>
							3
						</option>
						<option value='4'>
							4
						</option>
					</select>
				</td>
			</tr>

			<tr>
				<td>
					<input type="submit" value="保 存" />
			</form>
			</td>
			</tr>
		</table>
		<p>
			&nbsp;
		</p>
	</div>
</div>
<div id="right-column">
	<strong class="h">INFO</strong>
	<div class="box">
		Detect and eliminate viruses and Trojan horses, even new and unknown
		ones. Detect and eliminate viruses and Trojan horses, even new and
	</div>
</div>
</div>
<div id="footer"></div>
</div>


</body>
</html>
